package com.gnote.repair.domain;

import java.util.Objects;

/**
 * 
 * @TableName EMS_REPORT_CONFIG
 */
public class EmsReportConfig {
    /**
     * 主键id
     */
    private String recordId;

    /**
     * 报表名称
     */
    private String reportName;

    /**
     * 报表地址
     */
    private String reportUrl;


    @Override
    public boolean equals(Object o) {
        if (o == null || getClass() != o.getClass()) return false;
        EmsReportConfig that = (EmsReportConfig) o;
        return Objects.equals(recordId, that.recordId) && Objects.equals(reportName, that.reportName) && Objects.equals(reportUrl, that.reportUrl);
    }

    @Override
    public int hashCode() {
        return Objects.hash(recordId, reportName, reportUrl);
    }

    @Override
    public String toString() {
        return "EmsReportConfig{" +
                "recordId='" + recordId + '\'' +
                ", reportName='" + reportName + '\'' +
                ", reportUrl='" + reportUrl + '\'' +
                '}';
    }

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    public String getReportName() {
        return reportName;
    }

    public void setReportName(String reportName) {
        this.reportName = reportName;
    }

    public String getReportUrl() {
        return reportUrl;
    }

    public void setReportUrl(String reportUrl) {
        this.reportUrl = reportUrl;
    }
}